<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
String noodle = request.getParameter("noodle");
String bread = request.getParameter("bread");
String[] games = request.getParameterValues("game");
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>select jsp</title>
</head>
<body>

선택한 항목은...<br/>

면류: <%= noodle %><br/>
빵류: <%= bread %><br/>
게임: <%
if (games != null) {
	for (int i = 0; i < games.length; i++) {
		out.print("<b>" + games[i] + "</b>, ");
	}
}
%>

</body>
</html>